package com.lxmes.base.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 订单匹配规则 对象 nc_order_matching_rules
 * 
 * @author lx
 * @date 2023-05-25
 */
@ApiModel(value = "NcOrderMatchingRules", description = "订单匹配规则 对象")    
public class NcOrderMatchingRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 订单类别 */
    @Excel(name = "订单类别")
    @ApiModelProperty("订单类别")
    private String orderCategory;

    /** 订单类别编码 */
    @Excel(name = "订单类别编码")
    @ApiModelProperty("订单类别编码")
    private String orderCategoryCode;

    /** 订单发货仓库 */
    @Excel(name = "订单发货仓库")
    @ApiModelProperty("订单发货仓库")
    private String orderShippingWarehouse;

    /** 订单补货仓库 */
    @Excel(name = "订单补货仓库")
    @ApiModelProperty("订单补货仓库")
    private String orderReplenishmentWarehouse;

    /** 供应商匹配度 */
    @Excel(name = "供应商匹配度")
    @ApiModelProperty("供应商匹配度")
    private BigDecimal supplierMatch;

    /** 原厂匹配度 */
    @Excel(name = "原厂匹配度")
    @ApiModelProperty("原厂匹配度")
    private BigDecimal originalManufacturerMatch;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderCategory(String orderCategory) 
    {
        this.orderCategory = orderCategory;
    }

    public String getOrderCategory() 
    {
        return orderCategory;
    }
    public void setOrderCategoryCode(String orderCategoryCode) 
    {
        this.orderCategoryCode = orderCategoryCode;
    }

    public String getOrderCategoryCode() 
    {
        return orderCategoryCode;
    }
    public void setOrderShippingWarehouse(String orderShippingWarehouse) 
    {
        this.orderShippingWarehouse = orderShippingWarehouse;
    }

    public String getOrderShippingWarehouse() 
    {
        return orderShippingWarehouse;
    }
    public void setOrderReplenishmentWarehouse(String orderReplenishmentWarehouse) 
    {
        this.orderReplenishmentWarehouse = orderReplenishmentWarehouse;
    }

    public String getOrderReplenishmentWarehouse() 
    {
        return orderReplenishmentWarehouse;
    }
    public void setSupplierMatch(BigDecimal supplierMatch) 
    {
        this.supplierMatch = supplierMatch;
    }

    public BigDecimal getSupplierMatch() 
    {
        return supplierMatch;
    }
    public void setOriginalManufacturerMatch(BigDecimal originalManufacturerMatch) 
    {
        this.originalManufacturerMatch = originalManufacturerMatch;
    }

    public BigDecimal getOriginalManufacturerMatch() 
    {
        return originalManufacturerMatch;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderCategory", getOrderCategory())
            .append("orderCategoryCode", getOrderCategoryCode())
            .append("orderShippingWarehouse", getOrderShippingWarehouse())
            .append("orderReplenishmentWarehouse", getOrderReplenishmentWarehouse())
            .append("supplierMatch", getSupplierMatch())
            .append("originalManufacturerMatch", getOriginalManufacturerMatch())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
